package com.foreveross.bsl.mam.model.app.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;


/**
 * 
 * 应用证书实体表: 推送时需要用到等证书
 * 
 * @author tanzhixiong
 * @2013-6-20 @下午3:53:56
 */

@Document
public class AppSecret extends Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	/**
	 * 所属平台
	 */
	@Field("platform")
	private String platform;

	/**
	 * 应用版本表主键id
	 */
	@Field("appid")
	private String appid;

	/**
	 * 证书id（文件存在表主键id）
	 */
	@Field("certid")
	private String certid;

	/**
	 * 证书密钥（文件存在表主键id）
	 */
	@Field("certkey")
	private String certkey;

	@Field("storePass")
	private String storePass;
	@Field("keyAlias")
	private String keyAlias;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getCertid() {
		return certid;
	}

	public void setCertid(String certid) {
		this.certid = certid;
	}

	public String getCertkey() {
		return certkey;
	}

	public void setCertkey(String certkey) {
		this.certkey = certkey;
	}

	public String getStorePass() {
		return storePass;
	}

	public void setStorePass(String storePass) {
		this.storePass = storePass;
	}

	public String getKeyAlias() {
		return keyAlias;
	}

	public void setKeyAlias(String keyAlias) {
		this.keyAlias = keyAlias;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

}
